package com.example.dynamicschedule.dao;

import com.example.dynamicschedule.bean.CkOrderAchievementForm;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
public interface CkOrderAchievementFormMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkOrderAchievementForm record);

    int insertSelective(CkOrderAchievementForm record);

    CkOrderAchievementForm selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkOrderAchievementForm record);

    int updateByPrimaryKey(CkOrderAchievementForm record);

    List<CkOrderAchievementForm> selectAll();

    void insertForeach(@Param("addCkOrderAchievementForms") List<CkOrderAchievementForm> addCkOrderAchievementForms);

    void updateForeach(List<CkOrderAchievementForm> updateCkOrderAchievementForms);
}